package com.baiyun.mapper;

import com.baiyun.entity.Orders;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    /**
     * 查询所有订单
     * @return
     */
    List<Orders> selectAllOrder();

    void addOrder(Orders orders);

    void updateOrder(Orders orders);

    void deleteOrder(Integer oid);

    Orders selectById(Integer oid);
}
